package pl.ptemich.pong.states;

import org.newdawn.slick.state.BasicGameState;

import pl.ptemich.pong.model.ScreenTools;

public abstract class AbstractState extends BasicGameState {

  private ScreenTools screenTool;
  
  protected AbstractState(ScreenTools screenTool) {
    this.screenTool = screenTool;
  } 
  
  public double getScreenWidth() {
    return screenTool.getScreenWidth();
  }
  
  public double getScreenHeight() {
    return screenTool.getScreenHeight();
  }
  
}
